﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="gallery.aspx.vb" MasterPageFile="~/main.Master"  Inherits="moviesblogspot.gallery" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
   
   <head id="Head1">
    <title></title>
</head>
<body>
    
    <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <div>
    <br />
        
        <div style="text-align: center; width: 400px; margin: 0px auto;">
        <asp:Image ID="Image1" runat="server" Height="300" style="border:1px solid black; width:auto"
        Imageurl="Images/image0.jpg" AlternateText="run image" />
        <br />
     <asp:Label ID="imagelabel1" runat="server" Font-Bold="true" ForeColor="#ffffff" />
     <br />
     <br />
       
      <asp:Button ID="Previous" runat="server" Text="prev" CssClass="btn" />
     <asp:Button ID="BtnPlay" runat="server" Text="Play" CssClass="btn" /> 
     <asp:Button ID="Next" runat="server" Text="next" CssClass="btn" />

     <ajaxToolkit:SlideShowExtender ID="SlideShowExtender1" AutoPlay="true"
      ImageDescriptionLabelID="lblImageDescription"
       Loop="true" 
       NextButtonID="Next"        
          PlayButtonID="BtnPlay" PlayButtonText="Play" 
          PreviousButtonID="Previous"
           SlideShowServiceMethod="GetSlides" 
           StopButtonText="Stop" TargetControlID="Image1" SlideShowServicePath="slider.asmx" runat="server">
           </ajaxToolkit:SlideShowExtender> 
           
              </div>
              </div>
              

    
</body>

              
</asp:Content>
